package student.aistar.model.entity;


import java.sql.Date;

public class Reply {

  private Integer rId;
  private Integer evaluateId;
  private Integer replyId;
  private Integer userId;
  private String userName;
  private String userImg;
  private String content;
  private java.sql.Date createDate;


  public Reply() {
  }

  public Reply(Integer rId, Integer evaluateId, Integer replyId, Integer userId, String userName, String userImg, String content, Date createDate) {
    this.rId = rId;
    this.evaluateId = evaluateId;
    this.replyId = replyId;
    this.userId = userId;
    this.userName = userName;
    this.userImg = userImg;
    this.content = content;
    this.createDate = createDate;
  }

  public Integer getrId() {
    return rId;
  }

  public void setrId(Integer rId) {
    this.rId = rId;
  }

  public Integer getEvaluateId() {
    return evaluateId;
  }

  public void setEvaluateId(Integer evaluateId) {
    this.evaluateId = evaluateId;
  }

  public Integer getReplyId() {
    return replyId;
  }

  public void setReplyId(Integer replyId) {
    this.replyId = replyId;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserImg() {
    return userImg;
  }

  public void setUserImg(String userImg) {
    this.userImg = userImg;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("Reply{");
    sb.append("rId=").append(rId);
    sb.append(", evaluateId=").append(evaluateId);
    sb.append(", replyId=").append(replyId);
    sb.append(", userId=").append(userId);
    sb.append(", userName='").append(userName).append('\'');
    sb.append(", userImg='").append(userImg).append('\'');
    sb.append(", content='").append(content).append('\'');
    sb.append(", createDate=").append(createDate);
    sb.append('}');
    return sb.toString();
  }
}
